package com.lin.reggie.mapper;

import com.lin.reggie.entity.DishFlavor;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DishFlavorMapper {

        void save2(@Param("dishFlavorList") List<DishFlavor> dishFlavorList);

        //菜品口味id=dish的id
        List<DishFlavor>findByDishId(Long id);

        //删除口味
        void deleteDishFlavor(Long id);


}
